﻿@using BestTrader.Cms.Models
@model List<UCExchangeRate>
@{
    ViewData["Title"] = "出入金汇率管理";
}
@section head {
   
}
<form class="layui-form layui-form-pane" style="padding:40px;">
    @Html.AntiForgeryToken()
    @Html.Hidden("Id")
    

    <div class="layui-form-item layui-row layui-col-xs12">
        <input type="hidden" id="exchangeRateManagerId" value="@(TempData["ManagerId"])"/>
        <label class="layui-form-label">入金汇率</label>
        <div class="layui-input-block">
            <select name="InCoin" class="InCoin" id="InCoin" lay-filter="InCoin">
                <option value="0">默认汇率</option>

                @foreach (var item in Model)
                {
                    <option value="@item.Id">@(item.ProjectCode) - @(item.ProjectPrice)</option>
                }
            </select>
        </div>
    </div>
    <div class="layui-form-item layui-row layui-col-xs12">
        <label class="layui-form-label">出金汇率</label>
        <div class="layui-input-block">
            <select name="OutCoin" class="OutCoin"  id="OutCoin" lay-filter="OutCoin">
                <option value="">默认汇率</option>
                @foreach (var item in Model)
                {
                    <option value="@item.Id">@(item.ProjectCode) - @(item.ProjectPrice)</option>
                }
            </select>
        </div>
    </div>
    <div class="layui-form-item layui-row layui-col-xs12">
        <div class="layui-input-block text-center">
            <button id="editExchangeRateManager" class="layui-btn editExchangeRateManager" lay-submit="" lay-filter="editExchangeRateManager">确认保存</button>
        </div>
    </div>

</form>

@section Scripts{
    <script type="text/javascript" src="~/layui/layui.js"></script>
    <script type="text/javascript" src="~/js/manager/seetingExchangeRate.js?_=@DateTime.Now.ToString("yyyyMMddHHmmss")"></script>
}



